import { NgModule } from '@angular/core';
import { HomeService } from '@app/services/home/home.service';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { RequestInterceptor } from '@app/interceptors/request.interceptor';
import { PcontentService } from '@app/services/pcontent/pcontent.service';
import { OrderService } from '@app/services/order/order.service';
import { CartService } from '@app/services/cart/cart.service';
import { SocketioService } from '@app/services/socketio/socketio.service';



@NgModule({
  declarations: [],
  imports: [
    HttpClientModule,
  ],
  providers: [
    HomeService,
    PcontentService,
    CartService,
    OrderService,
    SocketioService,
    {
      provide: HTTP_INTERCEPTORS,
      useClass: RequestInterceptor,
      multi: true
    },
  ],
  exports: []
})
export class ServiceModule { }
